package com.ruoyi.hotel.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 房间设备对象 hl_room_device
 * 
 * @author ruoyi
 * @date 2022-12-10
 */
public class HlRoomDevice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 房间设备id */
    private Integer id;

    /** 房间类型id */
    private Integer roomTypeId;

    /** 房间设备And个数JSON */
    private String deviceNameAndCount;

    /** 数据状态（0停用/1使用） */
    private Integer state;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRoomTypeId() {
        return roomTypeId;
    }

    public void setRoomTypeId(Integer roomTypeId) {
        this.roomTypeId = roomTypeId;
    }

    public String getDeviceNameAndCount() {
        return deviceNameAndCount;
    }

    public void setDeviceNameAndCount(String deviceNameAndCount) {
        this.deviceNameAndCount = deviceNameAndCount;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("roomTypeId", getRoomTypeId())
            .append("deviceNameAndCount", getDeviceNameAndCount())
            .append("state", getState())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
